package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 盲盒兑换表(sc_box_exchange)实体类
 *
 * @author 张翔宇
 * @description 盲盒抽奖池
 * @since 2023-04-04 13:48:04
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_box_exchange")
public class BoxExchange extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 盲盒池商品Id
     */
    private Long boxProductId;

    /**
     * 兑换时间
     */
    private Date exchangeTime;

    /**
     * 兑换券消耗数量
     */
    private Integer costQuantity;

    /**
     * 盲盒数量
     */
    private Integer boxCount;

    /**
     * 兑换组合
     */
    private String exchangeMix;
}